import storeInfoModel from '../model/storeInfoModel';
import visitMonthPlanModel from '../model/visitMonthPlanModel';
import storeRecoderModel from '../model/storeRecoderModel';
import consumerRecoderModel from '../model/consumerRecoderModel';
import excelExportModel from '../model/excelExportModel';
import userCheckInModel from '../model/userCheckInModel';
import addExportModel from '../model/addExportModel';
import emplModel from '../model/empl2Model';


class YearService{
    constructor(){}

    async testModel(){
        let data=await visitMonthPlanModel.find({planDate:{$ne:'Invalid date'}}).sort({planDate:1});
        console.log(data.length,'<==15616====')
        data.map((it,num)=>{
            //console.log(it._id,it.date_,it.month,it.year,num)
            console.log(it,'?????????????',num)
        })

      
        
    }
}
let yearService=new YearService();
export default yearService;